﻿@foreach(var i in Model)
{
    var t = (i.Translations as IEnumerable<dynamic>)
        .SingleOrDefault(x => JDM.Int32(x.Language.EntityID) ==
            JDM.Int32(Svc.Localization.Language.EntityID));
    <span class="separator">/</span>
    <a href="@Url.Action(Loc.Act("Show").Set(new
    {
        id = JDM.Int32(i.EntityID)
    }).Localized())">@(t != null ? JDM.String(t.Name) : JDM.String(i.EntityID))</a>
}